package com.oasystem.web.webbean.fund;

import java.math.BigDecimal;

public class FunOutcomeSummary {
	private String catagoryName;
	private double totalAmount;

	public String getCatagoryName() {
		return catagoryName;
	}

	public void setCatagoryName(String catagoryName) {
		this.catagoryName = catagoryName;
	}

	public String getTotalAmount() {
		BigDecimal amount = new BigDecimal(this.totalAmount);
		//精确到两位，四舍五入
		return amount.setScale(2, BigDecimal.ROUND_HALF_DOWN).toString();
	}

	public void setTotalAmount(double totalAmount) {
		this.totalAmount = totalAmount;
	}

}
